<html>
<head><meta charset="utf-8"><title>Error running cargo bisect-rustc · t-compiler/cargo-bisect-rustc · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/index.html">t-compiler/cargo-bisect-rustc</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/Error.20running.20cargo.20bisect-rustc.html">Error running cargo bisect-rustc</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="213895243"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/Error%20running%20cargo%20bisect-rustc/near/213895243" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Hameer Abbasi <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/Error.20running.20cargo.20bisect-rustc.html#213895243">(Oct 20 2020 at 09:41)</a>:</h4>
<p>I'm getting the following error trying to run <code>cargo bisect-rustc</code>.</p>
<div class="codehilite"><pre><span></span><code>ERROR: failed during attempt to create/access local git repository: Expected author Brian Anderson to be bors for beb9a0dfc52ebda4f8db4e5d439e08e4f3a43a39
</code></pre></div>



<a name="213896295"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/Error%20running%20cargo%20bisect-rustc/near/213896295" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Hameer Abbasi <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/Error.20running.20cargo.20bisect-rustc.html#213896295">(Oct 20 2020 at 09:52)</a>:</h4>
<p>Here's the complete output:</p>
<div class="codehilite"><pre><span></span><code>cargo bisect-rustc --start=5c1f21c3b82297671ad3ae1e8c942d2ca92e84f2 --end=04488afe34512aa4c33566eb16d8c912a3ae04f9 --prompt
bisecting ci builds
starting at 5c1f21c3b82297671ad3ae1e8c942d2ca92e84f2, ending at 04488afe34512aa4c33566eb16d8c912a3ae04f9
opening existing repository at &quot;rust.git&quot;
refreshing repository
fetching (via local git) commits from 5c1f21c3b82297671ad3ae1e8c942d2ca92e84f2 to 04488afe34512aa4c33566eb16d8c912a3ae04f9
opening existing repository at &quot;rust.git&quot;
refreshing repository
looking up first commit
looking up second commit
checking that commits are by bors and thus have ci artifacts...
finding bors merge commits
ERROR: failed during attempt to create/access local git repository: Expected author Brian Anderson to be bors for beb9a0dfc52ebda4f8db4e5d439e08e4f3a43a39
</code></pre></div>



<a name="213896619"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/Error%20running%20cargo%20bisect-rustc/near/213896619" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Hameer Abbasi <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/Error.20running.20cargo.20bisect-rustc.html#213896619">(Oct 20 2020 at 09:55)</a>:</h4>
<p>This also fails:</p>
<div class="codehilite"><pre><span></span><code>cargo bisect-rustc --start=1.45.0 --end=1.46.0 --prompt
bisecting ci builds
starting at 1.45.0, ending at 1.46.0
cloning rust repository
ERROR: Could not find a commit for revision specifier &#39;1.46.0&#39;
</code></pre></div>



<a name="213916355"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/Error%20running%20cargo%20bisect-rustc/near/213916355" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matthiaskrgr <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/Error.20running.20cargo.20bisect-rustc.html#213916355">(Oct 20 2020 at 13:13)</a>:</h4>
<p>you need to enter a hash i think</p>



<a name="213916438"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/Error%20running%20cargo%20bisect-rustc/near/213916438" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matthiaskrgr <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/Error.20running.20cargo.20bisect-rustc.html#213916438">(Oct 20 2020 at 13:14)</a>:</h4>
<p>and the commit must be on the master branch</p>



<a name="213916462"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/Error%20running%20cargo%20bisect-rustc/near/213916462" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matthiaskrgr <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/Error.20running.20cargo.20bisect-rustc.html#213916462">(Oct 20 2020 at 13:14)</a>:</h4>
<p>i think i also ran into such problems in the beginning</p>



<a name="213916815"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/Error%20running%20cargo%20bisect-rustc/near/213916815" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/Error.20running.20cargo.20bisect-rustc.html#213916815">(Oct 20 2020 at 13:17)</a>:</h4>
<p>I would not try to run it against stable commit shas, that's likely to break</p>



<a name="213916835"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/Error%20running%20cargo%20bisect-rustc/near/213916835" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/Error.20running.20cargo.20bisect-rustc.html#213916835">(Oct 20 2020 at 13:17)</a>:</h4>
<p>I'd just run it without start/end, it shouldn't take that much longer</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>